package com.atguigu.tingshu.user.mapper;

import com.atguigu.tingshu.model.user.UserInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

@Mapper
public interface UserInfoMapper extends BaseMapper<UserInfo> {

    /**
     * 更新VIP状态：处理过期会员
     */
    void updateVipExpireStatus(@Param("date") Date date);
}
